package com.ahm.service;

import com.ahm.base.BaseService;
import com.ahm.bean.Permission;
import com.ahm.mapper.PermissionMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/*功能描述
 * @author ahm
 */
@Service
public class PermissionService extends BaseService<Permission,Integer> {

    @Resource
    private PermissionMapper permissionMapper;


    public List<String> selectAclValueByUserId(Integer userId) {
        return permissionMapper.selectVclValueByUserId(userId);
    }
}
